package com.camelot.boot.module.system.controller.admin.chatmessage1.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.camelot.boot.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.camelot.boot.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - AI 聊天消息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ChatMessage1PageReqVO extends PageParam {

    @Schema(description = "对话编号", example = "18134")
    private Long conversationId;

    @Schema(description = "回复编号", example = "1642")
    private Long replyId;

    @Schema(description = "用户编号", example = "20315")
    private Long userId;

    @Schema(description = "角色编号", example = "13269")
    private Long roleId;

    @Schema(description = "消息类型", example = "1")
    private String type;

    @Schema(description = "模型标识")
    private String model;

    @Schema(description = "模型编号", example = "10683")
    private Long modelId;

    @Schema(description = "消息内容")
    private String content;

    @Schema(description = "是否携带上下文")
    private Boolean useContext;

    @Schema(description = "段落编号数组")
    private String segmentIds;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}